package zhaixf.fx.DAO;

import org.apache.ibatis.annotations.Param;
import zhaixf.fx.been.Tool;

import java.util.List;

public interface ToolDAO {
    Tool queryById(@Param("id") String id);
    int updateForBx(Tool tool);

    List<Tool> queryAllTool();
    int addTool(Tool tool);
    int updateTool(Tool tool);
    int delTool(@Param("id") String id);
}
